package com.ruoyi.bizsys.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 日批失败借据对象 date_batch_fail_loan
 *
 * @author african-loan
 * @date 2021-12-30
 */

@Data
public class DateBatchFailLoan extends BaseEntity
        {
private static final long serialVersionUID=1L;


    /** PK */
    
            @Excel(name = "${comment}" , readConverterExp = "PK")
                @TableId(type = IdType.AUTO)
        private Long id;


    /** 日批日期 */
                        
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日批日期" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date batchJobDate;


    /** 贷款流水号 */
                        
            @Excel(name = "贷款流水号")
                private String loanSerialNo;


    /** 客户号 */
                        
            @Excel(name = "客户号")
                private String custNo;


    /** 借款金额 */
                        
            @Excel(name = "借款金额")
                private BigDecimal loanAmt;


    /** 趸交 */
                        
            @Excel(name = "趸交")
                private String isSinglePayment;


    /** 期数 */
                        
            @Excel(name = "期数")
                private Integer periodNum;


    /** 单位 */
                        
            @Excel(name = "单位")
                private String unit;


    /** 利(息)率 */
                        
            @Excel(name = "利(息)率")
                private BigDecimal interestRate;


    /** 滞纳金日费率 */
                        
            @Excel(name = "滞纳金日费率")
                private BigDecimal dateLateFee;


    /** 滞纳金按日收费宽限期（天数） */
                        
            @Excel(name = "滞纳金按日收费宽限期" , readConverterExp = "天=数")
                private Integer lateFeeGracePeriod;


    /** 放款本金 */
                        
            @Excel(name = "放款本金")
                private BigDecimal loanPrincipal;


    /** 已还本金 */
                        
            @Excel(name = "已还本金")
                private BigDecimal repaidPrincipal;


    /** 还款日期 */
                        
            @Excel(name = "还款日期")
                private String repayDate;


    /** 服务费 */
                        
            @Excel(name = "服务费")
                private BigDecimal serviceFee;


    /** 已还服务费 */
                        
            @Excel(name = "已还服务费")
                private BigDecimal repaidServiceFee;


    /** 总利息 */
                        
            @Excel(name = "总利息")
                private BigDecimal loanInterest;


    /** 已还总利息 */
                        
            @Excel(name = "已还总利息")
                private BigDecimal repaidInterest;


    /** 减免金额 */
                        
            @Excel(name = "减免金额")
                private BigDecimal feeRemissionAmt;


    /** 滞纳金 */
                        
            @Excel(name = "滞纳金")
                private BigDecimal lateFee;


    /** 已还滞纳金 */
                        
            @Excel(name = "已还滞纳金")
                private BigDecimal repaidLateFee;


    /** 逾期金额 */
                        
            @Excel(name = "逾期金额")
                private BigDecimal overdueAmount;


    /** 借据状态 */
                        
            @Excel(name = "借据状态")
                private Long iouStatus;


    /** 失败有效状态 */
                        
            @Excel(name = "失败有效状态")
                private String failState;


    /** 状态 */
                        
            @Excel(name = "状态")
                private String state;


    /** 备注 */
                        
            @Excel(name = "备注")
                private String remark;


    /** 创建时间 */
    
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备注" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date createTime;


    /** 更新时间 */
    
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "备注" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date updateTime;

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }